<!DOCTYPE html>
<html lang="zh_cn" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../../static/third/layui/css/layui.css" th:href="@{/third/layui/css/layui.css}">
    <style>
        input{
            width: 200px;
        }

        form{
            width: 200px;
            margin-top: 300px!important;
        }
    </style>
</head>
<body>
<div class="layui-container">
    <!--<div class="row">-->
        <!--<div class=" layui-col-lg3">-->
            <form action="" th:action="@{/login}" class="layui-form" method="post" style=" margin: auto">
                <div class="layui-form-item">
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input" name="username" placeholder="请输入用户名" >
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-inline">
                        <input type="password" class="layui-input" name="username"  placeholder="请输入密码">
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" style="margin-left: 10px;" lay-submit="" lay-filter="demo1">登录</button>
                        <!--<button type="reset" class="layui-btn layui-btn-primary">重置</button>-->
                    </div>
                </div>
            </form>
        <!--</div>-->
    <!--</div>-->
</div>
<script src="../../static/third/layui/layui.js" th:src="@{/third/layui/layui.js}"></script>
</body>
</html>